import Vue from 'vue'
import App from './App'
import store from './store'
import './common/global_variable'

Vue.prototype.$store = store

Vue.config.productionTip = false

// 有输入框和位置的头部样式组件
import HeaderNavInput from './components/HeaderNavInput';
Vue.component('HeaderNavInput', HeaderNavInput);

//头部背景渐变的样式组件
import IndexHead from './components/indexHead.vue';
Vue.component('IndexHead',IndexHead);

//正常头部样式组件
import comHeader from './components/comHeader.vue';
Vue.component('comHeader',comHeader)

// 下拉头部
import selHeader from './components/selHeader.vue';
Vue.component('selHeader',selHeader)

import FootMenu from './components/footMenu.vue';
Vue.component('FootMenu',FootMenu)
//除一级页面以外的底部导航

import Pay	from './components/PayCommon.vue';
Vue.component('pay-view',Pay)
//按钮弹窗组件

import Collection from './components/Collection.vue';
Vue.component('Collection',Collection)
//收藏弹窗组件

import Xingcheng from './components/Xingcheng.vue';
Vue.component('xing-cheng',Xingcheng)
//加入行程组件

import XingchengType from './components/XingchengType.vue';
Vue.component('xingcheng-type',XingchengType)
//行程内容选择组件

import popuper from '@/components/Popuper.vue'
Vue.component('Popuper',popuper)
//行程收藏提示框组件

import topView from '@/components/ToTop.vue'
Vue.component('top-view',topView)
//回到顶端组件

// import audioPlayer from '@/components/audioPlayer.vue'
// Vue.component('audio-player',audioPlayer)
//音频播放组件


App.mpType = 'app'

const app = new Vue({
	store,
    ...App
})
app.$mount()
 